import instance from "../instance";
// 获取历史搜索记录
export function searchHistoryAPI() {
	return instance({
		method: "get"
	})
}
// 添加历史搜索记录
export function addSearchHistory(data) {
	return instance({
		method: "post",
		data
	})
}